package com.lagou.edu.wwyan.web1.minicat;

public class HttpServlet implements Servlet{

    @Override
    public void service(Request request, Response response) throws Exception {
        if ("get".equalsIgnoreCase(request.getMethod())){
            doGet(request,response);
        }else {
            doPost(request,response);
        }

    }

    public void doGet(Request request, Response response) throws  Exception {
    }
    public void doPost(Request request, Response response) throws  Exception {
    }
}
